<?php 
$pageTitle = '密码修改';
$pageId="page-reset-password";
?>
@extends('ios.pageIndex')

@section('page-content')
<div class="content-padded">
	<form id="reset-password-form" name="reset-password-form" method="post" action="{{URL::to('password/reset')}}">
	<h3>密码修改</h3>
	<div class="list-block m-form">
      <ul>
        <li class="list-group-title">新密码<span class="text-red">*</span></li>
	    <li>
	      <div class="item-content">
	        <div class="item-inner">
	          <div class="item-input">
	             <input type="password" class="validate" id="password" name="password" 
					data-rules="required|max_length[64]|alpha_dash|matches[password_confirmation]" data-display="新密码" placeholder="输入新密码">
	          </div>
	        </div>
	      </div>
	    </li>
	    <li class="list-group-title">确认密码<span class="text-red">*</span></li>
	    <li>
	      <div class="item-content">
	        <div class="item-inner">
	          <div class="item-input">
	            <input type="password" class="validate" id="password_confirmation " name="password_confirmation" 
					data-rules="required" data-display="确认密码" placeholder="输入确认密码">
	          </div>
	        </div>
	      </div>
	    </li>
	 </ul>
    </div>
    {{Form::token()}}
    <input name="id" type="hidden" value="{{$user->id}}"/>
	<input name="referer" type="hidden" value="{{$referer}}"/>
    <button type="submit" class="button button-big m-button">保存</button>
    </form>
</div>

@stop